/*
 * Criado em Mar 23, 2005
 *
 *
 */
package gminet.infra.business;

import gminet.infra.db.Transaction;
import gminet.infra.db.TransactionException;

/**
 * @author Gabriel Flores Mendes
 * 
 * 
 */
public class BusinessObject {

	protected static Transaction createTransaction()
			throws TransactionException {

		return new Transaction();
	}

	protected static void releaseTransaction(Transaction transaction) {

		if (transaction != null) {
			transaction.release();
		}
	}

}
